package dao;

import java.util.List;

public interface BaseDAO {

	public abstract void save(Object transientInstance);

	public abstract void update(Object transientInstance);

	public abstract void delete(Object persistentInstance);
	
	public abstract List execSqlQuery(String sql);
	public abstract List execSqlQuery(String sql,int first,int max);
	public abstract int execSqlUpdate(String sql);
	public abstract void delete(String sql);
	public abstract void update(String sql);
	public abstract void save(String sql);
	public String delete="delete";
	public String update="update";
	public String insert="insert";
	public String from="from";
	public String set="set";
	public String into="into";
	public String select="select";
	public String _space=" ";
	public String _comma=",";
	public String _point=".";
	public String _leftprthsis="(";
	public String _rightprthsis=")";
	public String where="where";
	public String _eq="=";
	public String _id="ID";
	public String _leftjoin=" left join ";
	public String _on=" on ";
	public String _orderby=" order by ";
	public String _desc=" desc";
	public String _asc=" asc";
	public String _and=" and ";
}